Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring some code, merge st-probe and fixup #318 serial print #398

Merged
merged 3 commits into from
Apr 16, 2016
Merged

Refactoring some code, merge st-probe and fixup #318 serial print #398

merged 3 commits into from
Apr 16, 2016

Conversation

xor-gate
Copy link
Member

As there is no real codestyle and very inconsistent the pieces which needs some refactoring I used linux codestyle. Probably a good idea would be to have linux checkpatch linter in the repository.

Jerry Jacobs added 3 commits April 15, 2016 22:20
…linux.

Add some better sanity checking when using libusb_open and cleanup accordingly.

Fixes hang (debian 8, amd64, libusb 1.0.19):
libusb: warning [add_to_flying_list] failed to arm first timerfd (errno 9)
libusb: warning [libusb_close] internal signalling write failed, closing anyway
* Fixup #318 serial print in stlink probe with trailing zeros
* Refactor stlink-usb.h with some doxygen-style comments
* Refactor some pieces of stlink_open_usb
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Probe and control multiple connected programmers
3 participants